<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/8/26
 * Time: 8:58
 */

namespace app\core\widgets\notify;


use yii\web\AssetBundle;

class NotifyAsset extends AssetBundle
{

    public $css = [
        'css/bootstrap-notify.css',
    ];

    public $js = [
        'js/bootstrap-notify.js',
    ];

    public $depends = ['yii\bootstrap\BootstrapPluginAsset'];

    /**
     * 初始化：sourcePath赋值
     * @see \yii\web\AssetBundle::init()
     */
    public function init()
    {
        $this->sourcePath = dirname(__FILE__).DIRECTORY_SEPARATOR . 'assets';
    }
}